package com.project.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project.entity.OrderInfo;
import com.project.entity.Product;
import com.project.mapper.OrderInfoMapper;
import com.project.mapper.ProductMapper;
import com.project.service.OrderInfoService;
import com.project.service.ProductService;
import org.springframework.stereotype.Service;

@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements ProductService {

    @Override
    public Product findById(Integer productId, Integer factoryId) {
        return this.baseMapper.findById(productId,factoryId);
    }


}
